package com.cskaoyan.service.adminservice;

import com.cskaoyan.bean.po.MarketTopic;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.CommonData;
import com.cskaoyan.bean.chaosbean.topic.vo.AdminTopicReadVo;

import java.util.List;

/**
 * @author 楚夏三分
 * @datetime 2022/12/30 9:12
 * @description: TODO:
 */
public interface TopicService {
    CommonData<MarketTopic> list(BasePageInfo info, String title, String subtitle);

    MarketTopic create(MarketTopic marketTopic);

    AdminTopicReadVo read(Integer id);

    MarketTopic update(MarketTopic marketTopic);

    void delete(MarketTopic marketTopic);

    void batchDelete(List<Integer> ids);



}
